Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: invalid resolution of icon-helpers #16823

Merged

Conversation

tay1orjones
Copy link
Member

@tay1orjones tay1orjones commented Jun 19, 2024

The most recent v11.60.0 release failed because of an invalid resolution of @carbon/icon-helpers (logs). The incremental-migration-vite example relies on [email protected], which relies on an older version of @carbon/icons-react than what we use in the rest of the monorepo. We couldn't resolve this via dedupe or hoistingLimits (the previous fix, #14481).

The solution we landed on here is to remove the incremental-migration-vite example from the repo to being a standalone stackblitz link. We've updated the readme to point to the link.

Changelog

Changed

  • remove incremental-migration-vite project files
  • modify incremental-migration-vite readme.md to link to the new stackblitz example

Testing / Reviewing

  • There's not really a way to test this - we're just expecting CI checks to pass and we'll be cherry picking this into a new patch of v11.60.1

@tay1orjones tay1orjones requested a review from a team as a code owner June 19, 2024 16:21
@@ -1921,7 +1914,7 @@ __metadata:
languageName: unknown
linkType: soft

"@carbon/icon-helpers@npm:^10.28.0, @carbon/icon-helpers@npm:^10.49.0, @carbon/icon-helpers@workspace:packages/icon-helpers":
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the source of the invalid resolution: @carbon/icon-helpers@npm:^10.28.0

guidari
guidari previously approved these changes Jun 19, 2024
@@ -1921,7 +1914,7 @@ __metadata:
languageName: unknown
linkType: soft

"@carbon/icon-helpers@npm:^10.28.0, @carbon/icon-helpers@npm:^10.49.0, @carbon/icon-helpers@workspace:packages/icon-helpers":
"@carbon/icon-helpers@npm:^10.49.0, @carbon/icon-helpers@workspace:packages/icon-helpers":
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed here after removing the example from the workspaces

@guidari guidari dismissed their stale review June 19, 2024 16:30

CI error

Copy link

netlify bot commented Jun 19, 2024

Deploy Preview for v11-carbon-react ready!

Name Link
🔨 Latest commit abb5370
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/667307d9ac0a4c0008560c08
😎 Deploy Preview https://deploy-preview-16823--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jun 19, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit abb5370
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/667307d9606c180008f433a8
😎 Deploy Preview https://deploy-preview-16823--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tay1orjones tay1orjones merged commit 250923e into carbon-design-system:main Jun 19, 2024
22 checks passed
tay1orjones added a commit to tay1orjones/carbon that referenced this pull request Jun 19, 2024
* fix: invalid resolution of icon-helpers

* fix: relocate the incremental-migration-vite example
@tay1orjones tay1orjones self-assigned this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants